package entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * (OperationLog)实体类
 *
 * @author makejava
 * @since 2025-04-24 13:57:46
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OperationLog implements Serializable {
  private static final long serialVersionUID = 1L;
  /**
   * id编号
   */
  private Integer id;
  /**
   * 操作人名称
   */
  private String userName;
  /**
   * 记录操作类名
   */
  private String className;
  /**
   * 记录操作方法名
   */
  private String methodName;
  /**
   * 记录操作路径
   */
  private String url;
  /**
   * 记录传递的参数
   */
  private String args;
  /**
   * 执行时长(ms)
   */
  private Long coseTime;
  /**
   * 日志操作时间
   */
  private LocalDateTime createTime;
}

